package StartUp;

import dcobluej.draw.view.DrawDiagramView;
import javax.swing.JOptionPane;

/**
 * Projeto de TCC: Editor de Diagramas de comunicação BlueJ
 * @author Jose
 */
public class DcoBlueJStartUp {

    public void start() {
        try {
            new DrawDiagramView().setVisible(true);
        } catch (Exception e) {
            JOptionPane.showConfirmDialog(null,e.getMessage());
        }
    }

    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            @Override
            public void run() {
                new DrawDiagramView().setVisible(true);
            }
        });
    }
}
